<?php
// +----------------------------------------------------------------------
// | ThinkPHP
// +----------------------------------------------------------------------
// | Copyright (c) 2008 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------
// $Id$
import('@.Model.CommonModel');
class UserModel extends CommonModel {
protected $_validate	 =	 array(
array('account','require','用户名'),
array('password','require','密码必须'),
array('account','','用户名已经存在',0,'unique','add'),
);
}
?>
